<% layout('layout') %>
<div ng-controller="MemberCtrl" data-ng-init="bindorchange('<%=lbdp%>')">

    <div class="am-g">
        <div class="am-u-sm-8 am-u-sm-centered am-text-center " style="line-height: 60px;"><span ng-bind="words"></span></div>
    </div>

    <div ng-style="{{showbdsj}}">
        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-mobile"></i></span>
            <input id="smsphone" type="text" class="am-form-field" placeholder="要绑定的手机号">
        <span class="am-input-group-btn">
        <button class="am-btn am-btn-default" type="button" ng-click="getsmscode()">获取验证码</button>
        </span>
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <input id="smscode" type="text" class="am-form-field" placeholder="验证码">
        <span class="am-input-group-btn">
        <button class="am-btn am-btn-default" type="button" ng-click="verifySmsCode()">确认，保存手机号</button>
      </span>
        </div>
    </div>


    <div ng-style="{{showczsj}}">

        <div class="am-btn-group am-margin-sm">
            <button type="button" class="am-btn am-btn-secondary am-radius"><i class="am-icon-mobile"></i></button>
            <button type="button" class="am-btn am-btn-secondary am-radius"><span ng-bind="lbdph" class="am-margin-left-lg am-margin-right-sm"></span></button>
            <button type="button" class="am-btn am-btn-primary am-radius " ng-click="getcode()">获取验证码</button>
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <input id="ghpcode" type="text" class="am-form-field" placeholder="验证码">
        <span class="am-input-group-btn">
            <button class="am-btn am-btn-default" type="button" ng-click="qrcode()">确认，解锁原手机号</button>
        </span>
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <span class="am-input-group-label"><i class="am-icon-user am-icon-mobile"></i></span>
            <input id="newphone" type="text" class="am-form-field" placeholder="请先解锁原手机号码">
        <span class="am-input-group-btn">
            <button class="am-btn am-btn-default" type="button" ng-click="huoqucode()">获取验证码</button>
        </span>
        </div>

        <div class="am-input-group am-input-group-primary am-margin-sm">
            <input id="ghyzcode" type="text" class="am-form-field" placeholder="验证码">
        <span class="am-input-group-btn">
            <button class="am-btn am-btn-default" type="button" ng-click="ghsavephone()">确认，保存新手机号</button>
        </span>
        </div>
    </div>


</div>
<% block('footer').append('<script src="'+CDN+'script/member.js"></script>') %>

